package ph.greenova.persistence.impl;

import java.util.List;

/**
 * Created By: adrian
 * Date Created: 3:46 PM 6/5/13
 */
public abstract class AbstractDAOImpl<T>  {

    private final Class<T> entityClass;

    public AbstractDAOImpl(final Class<T> entityClass){
        this.entityClass = entityClass;
    }

    public T create(T entity) {
        return null;
    }

    public T edit(T entity) {
        return null;
    }

    public void remove(T entity) {

    }

    public T find(Object id) {
        return null;
    }

    public List<T>  findAll() {
        return null;
    }

    public int count() {
        return 0;
    }

    public void removeEntry(Object id) {

    }
}
